import request from '@/utils/request'

// 查询关注者列表
export function listFollowers(query) {
  return request({
    url: '/manage/followers/list',
    method: 'get',
    params: query
  })
}

// 查询关注者详细
export function getFollowers(followUserid) {
  return request({
    url: '/manage/followers/' + followUserid,
    method: 'get'
  })
}

// 新增关注者
export function addFollowers(data) {
  return request({
    url: '/manage/followers',
    method: 'post',
    data: data
  })
}

// 修改关注者
export function updateFollowers(data) {
  return request({
    url: '/manage/followers',
    method: 'put',
    data: data
  })
}

// 删除关注者
export function delFollowers(followUserid) {
  return request({
    url: '/manage/followers/' + followUserid,
    method: 'delete'
  })
}
